package com.it.plic;

import java.io.BufferedOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.UUID;

/**
 * @author げっしょく
 * @date 2021/8/8
 */
public class Demo8_1 {

    public static void main(String[] args) throws IOException {
        ServerSocket s = new ServerSocket(10000);
        while (true) {
            Socket accept = s.accept();
            new Thread(new ThreadD8(accept)).start();
        }
    }
}
